<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class home_controller extends public_controller
{
    public function index()
    {
        $this->session->set_userdata('menu_flag','1');
        $this->load_view('/Home/index');

    }

    public function logout()
    {
        $this->session->unset_userdata('menu_flag');
        redirect(base_url()."");
    }
}